<template>
  <div>
    <p>身份证类型：</p>
    <input type="radio" v-model="card" value="1" />身份证
    <input type="radio" v-model="card" value="2" />护照
    <input type="radio" v-model="card" value="3" />学生证
    <input type="radio" v-model="card" value="0" />其他
    <input type="submit" @click="submit" />
  </div>
</template>
<script>
export default {
  name: 'box-Check',
  data() {
    return {
      card: '',
    }
  },
  methods: {
    submit() {
      console.log(this.card)
    },
  },
}
</script>
